package com.yidu.best.TA.Ta.dao;

import java.util.List;

import com.yidu.best.TA.Fundinventory.domain.Fundinventory;
import com.yidu.best.TA.Ta.domain.Ta;
import com.yidu.best.TA.Ta.domain.TaVo;
import com.yidu.best.basicSetup.fundset.domain.Fund;
import com.yidu.best.bond.cashInventory.domain.CashInventory;
import com.yidu.best.bond.clear.domain.CapitalTransfer;

public interface TaDao {
	/**
	 * 分页查询
	 * @return taVo
	 */
	List<Ta> findTa(TaVo taVo);
	List<Ta> find(String ta);
	
	/**
	 * 查询ta数量
	 * @param taVo
	 * @return taVo
	 */
	int findCountTa(TaVo taVo);
	
	/**
	 * 添加ta数据            
	 * @param ta
	 * @return
	 */
	int insertTa(List<Ta> list);
	
	/**
	 * 修改ta数据状态
	 * @param bondtradingId
	 * @return
	 */
	int updateFundTrade(String fundTradeId);
	
	int fanjiesuan(String fundTradeId);
	
	int insertCapitalTransfer(CapitalTransfer capitalTransfer);
	
	int insertFundinventory(Fundinventory fundinventory);
	
	int insertCashinventory(CashInventory cashInventory);
	
	int countFundinventory(Ta ta);
	
	int countCashinventory(Ta ta);
	
	int updateShare(Fundinventory fundinventory);
	
	int updatecashBalance(CashInventory cashInventory);
	
	Fund selectFund(Ta ta);
	
	Fundinventory selectFundinventory(Ta ta);
	
	CashInventory selectCashinventory(Ta ta);
}
